--[[	$Id: rogue.lua 3954 2014-10-28 08:14:13Z sdkyron@gmail.com $	]]

if not (caelUI.myChars or caelUI.herChars) then return end

if caelUI.playerClass ~= "ROGUE" then return end

gM_Macros = {
	["TGT"] = {
		-- Shadowstep
		show = "[spec:1] sid{36554}; [spec:2] sid{36554}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/cast [spec:1] sid{36554}; [spec:2] sid{36554}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2, 3",
	}, 
	["Stealth"] = {
		-- Stealth, Cloak of Shadows, Vanish
		show = "[nocombat, stealth] sid{1784}; [nocombat, nostealth] sid{1784}; [combat, stealth] sid{1784}; [combat, nostealth] sid{31224}",
		body = [=[/castsequence reset=40 [nocombat, stealth] sid{1784}; [nocombat, nostealth] sid{1784}; [combat, stealth] sid{1784}; [combat, nostealth] sid{31224}, sid{1856}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2, 3",
	},
	["Trick"] = {
		-- Tricks of the Trade
		body = [=[/click focusButton
			/cast [combat, help][combat, target=focus, help] sid{57934}]=],
		class = "ROGUE",
		spec = "1, 2, 3",
	},
	["Shadowstep"] = {
		-- Shadowstep
		body = [=[/castsequence reset=target sid{36554}, null]=],
		class = "ROGUE",
		spec = "1, 2, 3",
	},
	["CheapSlice"] = {
		-- Cheap Shot, Slice and Dice
		show = "[stealth] [stance:3] sid{1833}; [nostealth] sid{5171}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/cast [harm, nodead, stealth] sid{1833}; [nostealth] sid{5171}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2, 3",
	},
	["FoKSap"] = {
		-- Sap, Fan of Knives
		show = "[stealth] [stance:3] sid{6770}; [nostealth] sid{51723}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/cast [harm, nodead, stealth] sid{6770}
			/castsequence [nostealth] reset=2/target sid{51723}, sid{51723}, sid{51723}, sid{121411}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2, 3",
	},
	["Finish"] = {
		-- Eviscerate, (Envenom)
		show = "[modifier] sid{408}; [spec:1] sid{2098}; [spec:2] sid{2098}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/cast [modifier, harm, nodead] sid{408}; [spec:1, harm, nodead] sid{2098}; [spec:2, harm, nodead] sid{2098}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2, 3",
	},
	["RupPick"] = {
		-- Rupture, Pick Pocket
		show = "[stealth] [stance:3] sid{921}; [nostealth] sid{1943}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/cast [nodead, stealth] sid{921}; [nostealth] sid{1943}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2",
	},
	["ARVDT"] = {
		-- Adrenaline Rush, (Vendetta)
		show = "[spec:1] sid{13750}; [spec:2] sid{79140}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/cast [spec:1, harm, nodead] sid{13750}; [spec:2, harm, nodead] sid{79140}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1, 2",
	},
	["AssaFront"] = {
		-- Garrote, Mutilate
		show = "[stealth] sid{703}; [nostealth] sid{1329}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/click [modifier, combat, harm, nodead, nostealth] gotMacros_ARVDT
			/click [harm, nodead] gotMacros_Trick
			/cast [harm, nodead, stealth] sid{703}; [harm, nodead, nostealth] sid{1329}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1",
	},
	["AssaBack"] = {
		-- Ambush, Dispatch
		show = "[stealth] sid{8676}; [nostealth] sid{111240}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/click [modifier, combat, harm, nodead, nostealth] gotMacros_ARVDT
			/click [harm, nodead] gotMacros_Trick
			/cast [harm, nodead, stealth] sid{8676}; [harm, nodead, nostealth] sid{111240}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "1",
	},
	["CbtFront"] = {
		-- Garrote, Revealing Strike, Sinister Strike
		show = "[stealth] sid{703}; [nostealth] sid{1752}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/click [modifier, combat, harm, nodead, nostealth] gotMacros_ARVDT
			/click [harm, nodead] gotMacros_Trick
			/cast [harm, nodead, stealth] sid{703}
			/castsequence [harm, nodead, nostealth] reset=target sid{84617}, sid{1752}, sid{1752}, sid{1752}, sid{1752}, sid{1752}, sid{1752}, sid{1752}, sid{1752}, sid{1752}, sid{1752}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "2",
	},
	["CbtBack"] = {
		-- Ambush, Blade Flurry
		show = "[stealth] sid{8676}; [nostealth] sid{13877}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/click [harm, nodead] gotMacros_Trick
			/cast [harm, nodead, stealth] sid{8676}; [nostealth] sid{13877}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "2",
	},
	["Premeditation"] = {
		-- Premeditation
		body = [=[/castsequence reset=0.4 0, 0, sid{14183}]=],
		class = "ROGUE",
		spec = "3",
	},
	["SD"] = {
		-- Shadow Dance
		body = [=[/castsequence reset=0.4 0, sid{51713}]=],
		class = "ROGUE",
		spec = "3",
	},
	["SubFront"] = {
		-- Garrote, Hemorrhage
		show = "[stealth] [stance:3] sid{703}; [nostealth] sid{16511}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [harm, nodead, stealth] [harm, nodead, stance:3] gotMacros_Premeditation
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/click [harm, nodead] gotMacros_Trick
			/cast [harm, nodead, stealth] [harm, nodead, stance:3] sid{703}; [harm, nodead, nostealth] sid{16511}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "3",
	},
	["SubBack"] = {
		-- Ambush, Backstab
		show = "[stealth] [stance:3] sid{8676}; [nostealth] sid{53}",
		body = [=[/click [noexists][noharm][dead] gotMacros_T2
			/click [harm, nodead, stealth] [harm, nodead, stance:3] gotMacros_Premeditation
			/click [modifier, harm, nodead, stealth] gotMacros_Shadowstep
			/click [combat, harm, nodead, nostealth] gotMacros_CD
			/click [combat, harm, nodead, nostealth] gotMacros_SD
			/click [harm, nodead] gotMacros_Trick
			/cast [harm, nodead, stealth] [harm, nodead, stance:3] sid{8676}
			/castsequence [harm, nodead, nostealth] reset=target sid{16511}, sid{53}, sid{53}, sid{53}, sid{53}, sid{53}, sid{53}, sid{53}, sid{53}]=],
		blizzmacro = true,
		perChar = true,
		class = "ROGUE",
		spec = "3",
	},
}